@layout("/common/_form.html",{js:["/assets/school/teacherInfo/teacherInfo_add.js"]}){

<form class="layui-form" id="teacherInfoForm" lay-filter="teacherInfoForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="id" type="hidden"/>
                    <div class="layui-row">
                        <div class="layui-inline layui-col-md6">
                            <label class="layui-form-label">姓名<span style="color: red;">*</span></label>
                            <div class="layui-input-block">
                                <input id="name" name="name" placeholder="请输入教师姓名" type="text" class="layui-input" lay-verify="required" required/>
                            </div>
                        </div>
<!--                        <div class="layui-inline layui-col-md4">-->
<!--                            <label class="layui-form-label">拼音</label>-->
<!--                            <div class="layui-input-block">-->
<!--                                <input id="pinyin" name="pinyin" placeholder="请输入姓名拼音" type="text" class="layui-input"/>-->
<!--                            </div>-->
<!--                        </div>-->
                        <div class="layui-inline layui-col-md6">
                            <label class="layui-form-label">姓名(英文)</label>
                            <div class="layui-input-block">
                                <input id="nameEn" name="nameEn" placeholder="请输入教师姓名（英文）" type="text" class="layui-input"/>
                            </div>
                        </div>
                    </div>
                    <div class="layui-row">
                        <div class="layui-inline layui-col-md4">
                            <label class="layui-form-label">教师编码<span style="color: red;">*</span></label>
                            <div class="layui-input-block">
                                <input id="code" name="code" placeholder="请输入教师编码" type="text" class="layui-input" lay-verify="required" required/>
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md4">
                            <label class="layui-form-label">联系电话<span style="color: red;">*</span></label>
                            <div class="layui-input-block">
                                <input id="tel" name="tel" placeholder="请输入联系电话" type="text" class="layui-input" lay-verify="required" required/>
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md4">
                            <label class="layui-form-label">性别</label>
                            <div class="layui-input-block">
                                <select name="sex" id="sex">
                                    @for(item in SEX){
                                    <option value="${item.code}">${item.name}</option>
                                    @}
                                </select>
<!--                                <input id="sex" name="sex" placeholder="请输入性别 1、男 2、女" type="text" class="layui-input" lay-verify="required" required/>-->
                            </div>
                        </div>
                    </div>
                    <div class="layui-row">
                        <div class="layui-inline layui-col-md4">
                            <label class="layui-form-label">职称</label>
                            <div class="layui-input-block">
                                <select name="rankId" id="rankId">
                                    <option value="">请选择职称</option>
                                    @for(item in ZC){
                                    <option value="${item.code}">${item.name}</option>
                                    @}
                                </select>
<!--                                <input id="rankId" name="rankId" placeholder="请输入教师职称ID" type="text" class="layui-input" />-->
                            </div>
                        </div>

                    <div class="layui-row">
                        <div class="layui-inline layui-col-md4">
                            <label class="layui-form-label">出生日期<span style="color: red;">*</span></label>
                            <div class="layui-input-block">
                                <input id="birthday" name="birthday" placeholder="请输入出生日期" type="text" class="layui-input" autocomplete="off" lay-verify="required" required/>
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md4">
                            <label class="layui-form-label">护照号</label>
                            <div class="layui-input-block">
                                <input id="passport" name="passport" placeholder="请输入护照号" type="text" class="layui-input" />
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md4">
                            <label class="layui-form-label">身份证号</label>
                            <div class="layui-input-block">
                                <input id="idNumeric" name="idNumeric" placeholder="请输入身份证号" type="text" class="layui-input" />
                            </div>
                        </div>
                    </div>
                    <div class="layui-row">
                        <div class="layui-inline layui-col-md4">
                            <label class="layui-form-label">状态<span style="color: red;">*</span></label>
                            <div class="layui-input-block">
                                <select name="status" lay-search="" id="status">
                                    @for(item in JSZZZT){
                                    <option value="${item.code}">${item.name}</option>
                                    @}
                                </select>
<!--                                <input id="status" name="status" placeholder="请输入0.在本单位任职1.暂未在本单位任职-交流轮岗2.暂未在本单位任职-长病假3.暂未在本单位任职-借出到机关4.暂未在本单位任职-因公出国5.暂未在本单位任职-其他" type="text" class="layui-input" lay-verify="required" required/>-->
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md4">
                            <label class="layui-form-label">民族</label>
                            <div class="layui-input-block">
                                <select name="nationId" lay-search="" id="nationId">
                                    <option value="">请选择民族</option>
                                    @for(item in MZ){
                                    <option value="${item.code}">${item.name}</option>
                                    @}
                                </select>
<!--                                <input id="nationId" name="nationId" placeholder="请输入民族ID" type="text" class="layui-input" />-->
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md4">
                            <label class="layui-form-label">国籍</label>
                            <div class="layui-input-block">
                                <select name="nationalityId" lay-search="" id="nationalityId">
                                    <option value="">请选择国籍</option>
                                    @for(item in countries){
                                    <option value="${item.id}">${item.name}</option>
                                    @}
                                </select>
<!--                                <input id="nationalityId" name="nationalityId" placeholder="请输入国籍ID" type="text" class="layui-input" />-->
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">备注</label>
                        <div class="layui-input-block">
                            <textarea id="memo" name="memo" placeholder="请输入备注" type="text" class="layui-textarea" ></textarea>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}